<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传示例</title>
</head>
<body>
<!--<iframe width="0" height="0" id="myFrame" name="myFrame" ></iframe>-->
    <form action="upload.do" method="post" enctype="multipart/form-data" target="myFrame">
        选择文件：<input type="file" name="file" id="file"><br>
        <input type="submit" value="上传文件" name="submit">
    </form>


</body>
</html>